<%@ page language="java" contentType="text/html; charset=utf-8" import="java.util.*"
    pageEncoding="utf-8"%>  <%@page import="com.adl.hotelmanage.po.adminuser"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<title>删除用户信息</title>
<style>
body{ min-height:200px; font-size:14px;}
td,th{ font-size:14px;}
input[type="text"]{ padding:5px 5px; font-size:14px;}
</style>
</head>
<body>
<div class="pd-20">
  <div class="Huiform">
    <form action="DeleteActionServlet" method="post">
      <table class="table table-bg">
        <tbody>
        
     <%
   List<adminuser> list = (List<adminuser>) request.getAttribute("userlist"); 
   // 判断集合是否有效 
 if (list == null || list.size() < 1) { 
        out.print("没有数据！"); 
      }
 else{
	 for (adminuser user: list) { %>
        
          <tr>
            <th width="100" class="text-r"><span class="c-red">*</span> 姓名：</th>
            <td><input type="text" style="width:200px" class="input-text" value="<%=user.getUserName()%>" placeholder="" id="user_userName" name="user_userName" datatype="*2-16" nullmsg="用户名不能为空"></td>
          </tr>
          <tr>
            <th class="text-r"><span class="c-red">*</span> 密码：</th>
            <td><input type="text" style="width:300px" class="input-text" value="<%=user.getUserPass() %>" placeholder="" id="user_userPass" name="user_userPass"></td>
          </tr>
          <tr>
            <th class="text-r"><span class="c-red">*</span> 电话：</th>
              <td><input type="text" style="width:300px" class="input-text" value="<%=user.getTelphone() %>" placeholder="" id="user_telphone" name="user_telphone"></td>
          </tr>
          <tr>o
            <th class="text-r"><span class="c-red">*</span> 家庭住址：</th>
          <td><input type="text" style="width:300px" class="input-text" value="<%=user.getDepartment() %>" placeholder="" id="user_department" name="user_department"></td>
          </tr>
           <tr>
            <th class="text-r"><span class="c-red">*</span> 性别：</th>
          <td><input type="text" style="width:300px" class="input-text" value="<%=user.getSex() %>" placeholder="" id="user_sex" name="user_sex"></td>
          </tr>
          <tr>
            <th></th>
            <td><input type="submit" value="确认"></td>
          </tr>
        </tbody>
        
           
   <%}
 } %>
      </table>
    </form>
  </div>
</div>
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/Validform_v5.3.2_min.js"></script> 
<script type="text/javascript" src="js/H-ui.js"></script> 
<script type="text/javascript" src="js/H-ui.admin.js"></script> 
<script type="text/javascript">
$(".Huiform").Validform(); 
</script>

</body>
</html>